package com.trafficsys.modules.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 警察部门
 */
@Data//lombok生成get set方法
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class Department {
    private Integer depNo;//警队编号 默认110
    private String name;//警队名称
    private String address;//警队地址
    private String phone;//警队电话
    @TableField(exist = false)
    private List<Police> policeList;//警员集合
}